package lu.sfeir.sid.springlabs;

import javax.inject.Inject;
import javax.inject.Named;


import lu.sfeir.sid.springlabs.annotation.Growl;

@Named("monApplication")
public class MonApplication {

	@Inject @Growl
    Notifier notifier;

    public void run(){
        notifier.notify("Application started on " + System.getProperty("os.name") + " !");
    }

//    // required getters/setters javabean convention 
//	public Notifier getNotifier() {
//		return notifier;
//	}
//	public void setNotifier(Notifier notifier) {
//		this.notifier = notifier;
//	}
}
